package com.hz.ruoyimotor.service.impl;/**
 * @Author tjh
 * @Date 2025/3/6 20:02
 * @version 1.0
 * @注释
 */

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.rouyigonggong.domain.LgDriver;
import com.hz.rouyigonggong.domain.LgVehicle;
import com.hz.ruoyimotor.domain.dto.LgDriverDto;
import com.hz.ruoyimotor.mapper.LgDriverMapper;
import com.hz.ruoyimotor.service.LgDriverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName LgDriverServiceImpl
 * @Description TODO
 * @Author tjh
 * @Date 2025/3/6 20:02
 * @Version 1.0
 */
@Service
public class LgDriverServiceImpl extends ServiceImpl<LgDriverMapper, LgDriver> implements LgDriverService {
    @Autowired
    private LgDriverMapper lgDriverMapper;
    @Override
    public List<LgDriverDto> getReallyList(Map<String, Object> params,Integer firstNum, Integer secondNum) {
        return lgDriverMapper.getReallyList(params, firstNum, secondNum);
    }

    @Override
    public int getCount(Map<String, Object> params) {
        return lgDriverMapper.getCount(params);
    }

    @Override
    public int deleteBatchIds(String[] driverIds) {
        return lgDriverMapper.deleteBatchIds(driverIds);
    }

    @Override
    public int getCountDriver() {
        return lgDriverMapper.getCountDriver();
    }
}
